import { BASE } from "@/api/config/servicePort";
import http from "@/api";

// 修改密码
export const modifyPassword = params => {
  return http.post(BASE + "/auth/change_password/", params);
};
// 获取个人信息
export const getUserInfo = () => {
  return http.post(BASE + "/auth/show_user");
};
// 修改个人信息
export const modifyUserInfo = params => {
  return http.post(BASE + "/auth/modify_user", params);
};
// 获取验证码
export const getVerify = () => {
  return http.get(BASE + "/auth/verify_image");
};
